//
//  List-Model.m
//  22-homework-QQMV-ALi
//
//  Created by 王道林 on 16/8/13.
//  Copyright © 2016年 王道林. All rights reserved.
//

#import "List-Model.h"
#import "MVListModel.h"
@implementation List_Model


- (void)setValue:(id)value forKey:(NSString *)key
{
    [super setValue:value forKey:key];
    NSMutableArray *mvlistMarr = [NSMutableArray array];
    if ([key isEqualToString:@"mvlist"]) {
        for (NSDictionary *dic in value) {
            MVListModel *mvlist = [MVListModel modelWithDic:dic];
            [mvlistMarr addObject:mvlist];
        }
        _mvlist = mvlistMarr;
    }
}

@end
